package demo;

import java.util.concurrent.ThreadLocalRandom;

/**
 * ThreadLocalRandom
 *
 * @author dingwen
 * @date 2022/03/23
 */
public class ThreadLocalRandomDemo {
    public static void main(String[] args) {
        int i = ThreadLocalRandom.current().nextInt(10);
        System.out.println("i = " + i);
    }
}
